-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
samples: matter: lock: Support all fields of LockOperation event #21078
Conversation
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 778e7318d01ace3e016c3d32ea501a9200f2f3a6 more detailssdk-nrf:
Github labels
List of changed files detected by CI (8)
Outputs:ToolchainVersion: 4ffa2202d5 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
73fc0e6
to
4868011
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've changed the door lock API, so I think at least a release or migration guide note should be added.
* @return true on success, false otherwise. | ||
*/ | ||
bool ValidatePIN(const Optional<chip::ByteSpan> &pinCode, OperationErrorEnum &err); | ||
bool ValidatePIN(const Optional<chip::ByteSpan> &pinCode, OperationErrorEnum &err, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@markaj-nordic just FYI, the doorlock access manager API has been changed.
9d32699
to
d02c1ab
Compare
Format sources before changes. Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
Remove redundant call to `BoltLockManager::[Lock|Unlock]` from MatterPostAttributeChangeCallback. Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
d02c1ab
to
47b31c8
Compare
Addressed SonarQube issues. |
|
Yeah, release note entry would not harm. |
Return `ValidatePINResult` containing user id and credential used for validation. Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
Add support for `UserIndex`, `FabricIndex`, `SourceNode` and `Credentials` fields. Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
Address SonarQube warning regarding code nesting. Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
Address SonarQube issue regarding too long lambda body. Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
4ca1f29
to
b98f9bb
Compare
doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst
Outdated
Show resolved
Hide resolved
You can find the documentation preview for this PR here. Preview links for modified nRF Connect SDK documents: |
Mention API changes in `lock` sample. Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
b98f9bb
to
778e731
Compare
BoltLockManager::[Lock|Unlock]
fromMatterPostAttributeChangeCallback.
ValidatePINResult
containing user id and credential used forvalidation.
UserIndex
,FabricIndex
,SourceNode
andCredentials
fields.